package com.quanyan.user.service;

import com.quanyan.api.APIResponse;
import com.quanyan.user.model.db.TbUserFriend;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/11/16.
 */
public interface UserFriendService {

    /**
     * '好友间状态0:未解除
     */
    byte friend_true = 0;

    /**
     * '好友间状态1:解除
     */
    byte friend_false = 1;


    /**
     * 批量查询好友关系
     *
     * @param uid
     * @param lstFid 好友id
     * @return
     */
    List<TbUserFriend> batchUserFriendService(Integer uid, List<Integer> lstFid);

    /**
     *
     * @param uid
     * @param lstFid
     * @return
     */
    public Map<Integer,TbUserFriend> batchUserFriendServiceToMap (Integer uid ,List<Integer> lstFid);

    }
